package com.markhsiu.framework.spring.main;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.markhsiu.framework.spring.Tools;

public class TestMain {
	
	private static ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
			"spring/spring.xml");

	public static void main(String[] args) {
		Tools tools = (Tools) context.getBean("user");
		System.out.println(tools.getName());
	}

}
